home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5806 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: druid.borland.com!usenet
  2. From: pete@borland.com (Pete Becker)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: A fatal distant call to the "hood"
  5. Date: 6 Feb 1996 22:06:43 GMT
  6. Organization: Borland International
  7. Message-ID: <4f8jdj$kik@druid.borland.com>
  8. References: <4erpr1$4ha@newsbf02.news.aol.com>
  9. NNTP-Posting-Host: pbecker.borland.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=ISO-8859-1
  12. X-Newsreader: WinVN 0.99.5
  13.  
  14. In article <4erpr1$4ha@newsbf02.news.aol.com>, awhang8367@aol.com says...
  15. >
  16. >   Hi!  I have been using BC++ 4.0 and I have recently upgraded it to
  17. >4.52.My  main target platform has been for DOS.:-(  For the second time I
  18. >have compiled a program which has function that makes a far call to
  19. >another function which then makes a near return.  The result was fatal.
  20. >   Declaring the function as far/near doesn't seem to help any.  I have
  21. >fiddled with almost every compiler.linker & optimization options but to no
  22. >avail.  Has anyone ever encountered this strange phenomena or may have
  23. >remedy to this problem?
  24. >  for (i=0;;i++) printf("Thank you!\n");
  25.  
  26. This typically happens when you build a project in small model, then change to 
  27. large model but don't recompile all of the source modules. Use Build All to be 
  28. sure that everything got rebuilt.
  29.     -- Pete
  30.  
  31.